BSP COLLISION X

This command will return an X coordinate modifier value when the specified collision index is involved in a hit against solid BSP geometry during the rendering cycle.

  Syntax
Return Float=BSP COLLISION X(Collision Index)
  Parameters
Collision Index
Integer
This value is an integer number such as 1.

  Returns

This value is a float number such as 0.5

  Description

Use this command in combination with the BSP COLLISION HIT command to determine when the hit occurs.

  Example Code
No example code is provided for this command
  See also

WORLD Commands Menu
Index